TweenMax.fromTo(".fire", .03, {x:-.5, y:-.4}, {x:.5, y:.4, repeat: -1, yoyo: true});

var tl = new TimelineMax({ repeat: -1}),
    tl_sky = new TimelineMax({ repeat: -1});

tl_sky.fromTo(".sky", 12, {transform: "translateY(-100px)"}, {transform:"translateY(0vh)", ease:Power0.easeNone});

tl.to(".rocket", 3, {transform: "translateY(-5vh)", ease:Expo.easeOut })
    .fromTo(".fire", .4, {scaleY:.8}, {scaleY: 1.5}, "+=1.5")
    .add( () => tl_sky.timeScale(25), "-=.4" )
    .to(".rocket", 2, {transform: "translateY(-130vh)", ease:Power3.easeOut}, "+=1.5")
    .add( () => TweenMax.to(tl_sky, 1.5, {timeScale:2}));

tl_sky.timeScale(1);

document.getElementById("Layer_1").style.display="none";

